XY Chart NET 3 Control Reference
Custom Toolbar

Expand XYChartNET's toolbar functionality by creating your own custom toolbar.

You may create your own custom toolbar items to accompany XYChartNET's existing toolbar, or create your own custom toolbar in place of XYChartNET's toolbar.

Use the CustomToolbar property to set/get properties, such as the backcolor and dock position. Furthermore, set/get properties specific to each custom toolbar item:

 

Item Property Description Data Type Default
Button Enabled Boolean indicating if the item is enabled. Boolean True
Name Name used to identify the item. String ToolbarItem[counter]
ToolTipText Text to display whenever the mouse hovers over the custom toolbar item. String ""
Image Image, 16x16 pixels, to display for the custom toolbar item. Image Nothing
Checked Button Enabled Boolean indicating if the item is enabled. Boolean True
Name Name used to identify the item. String ToolbarItem[counter]
ToolTipText Text to display whenever the mouse hovers over the custom toolbar item. String ""
CheckedImage Image, 16x16 pixels, to display for the custom toolbar item in the checked (pressed) state. Image Nothing
UncheckedImage Image, 16x16 pixels, to display for the custom toolbar item in the unchecked (unpressed) state. Image Nothing
CheckedState Read-only boolean indicating if the item is checked (pressed). Boolean Not applicable
SetCheckedState Use this method to programmatically set the checked (pressed) state of the custom toolbar item. This method is equivalent to selecting the item in the custom toolbar. Not applicable Not applicable
Separator Name Name used to identify the item. String Separator[counter]

 

 

 


© 2003 - 2013 ControlEng Corporation. All rights reserved.